import request from '@/utils/request'

export function findPageEvaluation(page,size,serviceName,replyStatus) {
  return request({
    url: '/juanbusiness/reservation-evaluation/findPage',
    method: 'get',
    params: {
      page : page,
      size : size,
      serviceName: serviceName,
      replyStatus: replyStatus
    }
  })
}

export function getReservationId(reservationId) {
  return request({
    url: '/juanbusiness/reservation-evaluation/getReservationId',
    method: 'get',
    params: {reservationId : reservationId}
  })
}

export function SupportReservationEvaluation(data) {
  return request({
    url: '/juanbusiness/reservation-evaluation/editSupport',
    method: 'put',
    data
  })
}